﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KamRemakeRemake.GameObjects.UnitObjects.ActionObjects;

namespace KamRemakeRemake.GameObjects.UnitObjects
{
    public class UnitActionSprite
    {
        public ActionType Action { get; private set; }

        public int Rows { get; private set; }

        public int Columns { get; private set; }

        /// <summary>
        /// Create a new action for a sprite where rows is the amount of rows and columns is the amount of columns the action wil loop trough
        /// </summary>
        /// <param name="action"></param>
        /// <param name="rows"></param>
        /// <param name="columns"></param>
        public UnitActionSprite(ActionType action, int rows, int columns)
        {
            Action = action;
            Rows = rows;
            Columns = columns;
        }
    }
}
